<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="/common/taglibs.jsp" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>报表打印</title>

    <%@ include file="/common/util.jsp" %>

    <script type="text/javascript" src="${cdnctx }/src/statistics/countone.js"></script>
    <script type="text/javascript">
        function windowprint() {
            $("#print").hide();
            window.print();
            $("#print").show();
        }
    </script>
</head>

<body class="main">

<div class="-frame -luster" id="css_container" style="width: 100%">

    <div class="content" style="background-color: white;position: static">
        <div class="main-mid" style="left: 0px; text-align: center">

            <form class="form-inline" style="min-width:700px;margin-left: 20px;">
                <input type="hidden" class="search_input" id="customerinfoid" value="${customerinfoid}">
                <input type="hidden" id="startDate" value="${startDate}">
                <input type="hidden" id="endDate" value="${endDate}">
            </form>
            <div align="center">
                <button onclick="windowprint()" style="margin-top: 10px" id="print">打印报告</button>
            </div><br/><br/>
            <div align="center" style='height: 40px;font-weight: bold;font-size:22px;'>${customername }单店能源分析</div>
            <div style="margin-top: 30px;" align="center">
                <div style="width:100%;">
                    <table class="list_table left" style="width: 75%">
                        <tr>
                            <td>
                                <span class="search_text">番号：<span id="code"></span></span>
                            </td>
                            <td>
                                <span class="search_text">地址：<span id="address"></span></span>
                            </td>
                            <td rowspan="2">
                                <span class="search_text">
                                    <span>${customerInfoData.province}门店耗电量排名：
                                        <span id="position" style="font-size: 20px; color: red;font-weight: bold;">
                                        </span>
                                    </span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="search_text">人数：<span id="acreage"></span></span>
                            </td>
                            <td>
                                <span class="search_text">面积(m²)：<span id="squares"></span></span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="onenengycontainer" style="margin-top: 50px;max-width: 900px;margin-left: auto; margin-right: auto; height:400px;"></div>
            <div id="regioncontainer" style="margin-top: 50px;max-width: 900px;margin-left: auto; margin-right: auto; height:400px;"></div>
        </div>
    </div>
</div>
</body>
</html>